listview: cull listitems that are out of view
authorBenjamin Otte <otte@redhat.com>
Wed, 1 Jun 2022 02:29:15 +0000 (04:29 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 7 Jun 2022 01:20:11 +0000 (03:20 +0200)
commit39645d32582892bc4fd3bb55ea5d11af860f0efd
tree6e28f0c547a81b313be90f363e678cf2071d237f
parent526b62e0be82e77f01d73d10d2b39d0fe4e98bd9
listview: cull listitems that are out of view

Use set_child_visible(FALSE) on those widgets and don't allocate them.

This should usually be the majority of items, so it's quite a worthwhile
addition.

Idea by Ivan Molodetskikh.

Related: #3334
gtk/gtklistbase.c